set JAVAHOME=c:\jdk1.4.1


rem javac -classpath ..\..\classes -d ..\..\classes ..\..\src\fr\emn\win32input\juser32\JUser32.java  
rem javah -classpath ..\..\classes fr.emn.win32input.juser32.JUser32

@REM Visual Studio must be properly installed for the next command line
cl -LD -I%JAVAHOME%\include -I%JAVAHOME%\include\win32 user32wrapper.c /link user32.lib

mv user32wrapper.dll ..

rem @del *.h
@del *.exp
@del *.lib
@del *.obj
